<!--
 * Copyright ©
 * #  
 * @author: zw
 * @date: 2021-12-03 
 -->

<template>
  <div class="today-recommend">
    <div class="py-container">
      <ul class="recommend">
        <li class="clock">
          <div class="h-full flex flex-col items-center justify-center">
            <img src="@/assets/img/clock.png" />
            <h3 class="mt-4">今日推荐</h3>
          </div>
        </li>
        <li class="banner">
          <img src="@/assets/img/today/today01.png" />
        </li>
        <li class="banner">
          <img src="@/assets/img/today/today02.png" />
        </li>
        <li class="banner">
          <img src="@/assets/img/today/today03.png" />
        </li>
        <li class="banner">
          <img src="@/assets/img/today/today04.png" />
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang="js">
import { defineComponent } from 'vue'
export default defineComponent({
  name: 'Recommend',
  setup(props, {emit, slots}) {

   return {

    }
   }
})
</script>

<style lang="scss" scoped>
.today-recommend {
  .py-container {
    width: 1200px;
    margin: 0 auto;

    .recommend {
      height: 165px;
      background-color: #eaeaea;
      margin: 10px 0;
      display: flex;

      .clock {
        width: 16.67%;
        background-color: #5c5251;
        color: #fff;
        font-size: 18px;
        text-align: center;

        // .time {
        //   padding: 30px 0;
        // }

        // h3 {
        //   margin: 9px 0;
        //   font-weight: 700;
        //   font-size: 18px;
        //   line-height: 30.06px;
        // }
      }

      .banner {
        width: 20.83%;

        img {
          width: 100%;
          height: 100%;
          transition: all 400ms;

          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }
}
</style>
